package com.example.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>数据库表名: rbac_perm</p>
 *
 * @author fyxw
 */
@Data
public class Perm implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "id不能为空")
    private Integer id;
    private String name;
    private String code;
    private String link;
    private Integer parentId;
    private String type;
    private String status;
}